package usb;
import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入数字1");
        int num1=sc.nextInt();
        System.out.println("请输入数字2");
        int num2=sc.nextInt();
        if (num1>num2){
            System.out.println("最大数为");
            System.out.println(num1);
        }else if (num2>num1){
            System.out.println("最大数为");
            System.out.println(num2);
        }
        }
}